import { type TableColumnType } from 'ant-design-vue';

export const columns: TableColumnType[] = [
  {
    dataIndex: 'name',
    title: '成员姓名',
    width: 160,
  },
  {
    dataIndex: 'department',
    title: '所属部门',
    width: 160,
  },
  {
    dataIndex: 'mobile',
    title: '成员手机',
    width: 200,
  },
  {
    dataIndex: 'isAdmin',
    title: '角色权限',
    width: 180,
  },
  {
    dataIndex: 'isLock',
    title: '账号状态',
    width: 160,
  },
  {
    dataIndex: 'lastLoginTime',
    title: '最近登录',
    width: 250,
  },
  {
    align: 'left',
    dataIndex: 'action',
    fixed: 'right',
    key: 'action',
    title: '操作',
    width: 195
  },
];